r4201 just figured out, that "chdir" works better outside of the script
[racktables] / scripts /
drwxr-xr-x   ..
-rw-r--r-- 47992 init-sample-racks.sql
-rwxr-xr-x 3770 syncdomain.php