Unscheduled conversion fix

Modify the python function convertToUnscheduled so that it can be called as a customization by cmsDriver. It needs to return the process in addition to taking it as an argument.