Move chmod into script