Fixed pull script