Make sure the script loads its configureation in the master run_mode
Add debug logging on the console
Add option to set environment for the compile