extended for all reps
updated script