Added executable mode to the main file