added chmod to file