Fixed chmod issue