Added the feature to execut a script upon the start of the instance monitor