fix pull script