Set mode to executable