updated script to use new selector