shouldn't you use $SCRIPT_DIR in -C ?

also, please use double quotes around your file arguments, in case directories have spaces