Use params to build up the parameters for run_instances call
Merge branch 'GUI-1239' into GUI-1230