Added code to create job switches list