added script to set parameters for all selected images