updated pull script