added possibility to set executor for upload_and_run
added get_executor_for to upload_and_run function