fixed pull script permissions