added chmod to pull