making sure debugging can be activate by enviroment variables
using a file to store json query
passing the correct arguments and ajunsting monitoring