ugh, the problem was in one of the remote/*.sh files. it was a SCRIPT dir with no slash after it! so it was looking for scriptdirTHESCRIPT instead of scriptdir/THESCRIPT