Updated version of process customization python script