added support for python_file scripts
deployment data is now written to disk before running the deployment script