tweak to allow for running scripts remotely