Add loglevel property to configuration file
Add procedure for api key check to function
Add logfile location to init scripts
Call agent script with config and log file path arguments
Support config and log file paths in init scripts