Expand scripting capabilities
Right now we only have Post Capture script, but we need more to allow for more complex requirements to be met, especially in observatories:
- Pre Job Script
- Pre Capture Script
- Post Capture Script
- Post Job Script
The script that runs now is not provided for any metadata to help it in making any decisions. For example, post capture script does not send any information on the file that was just captured, which forces the script to lookup such information. Therefore, we need to pass in some args to provide some key info.