Updated pull script