the mainfile is back to its original. The python script is updated to work with the new enum values for sampling and system.