Saving remote script to file before executing.