implemented copying of local file to remote server in case ti's been updated while the runtime