Changing mode to executable of the email handler script