Listening for script execution