renamed cgsubmit to cgsubmit_fixed so it would be found instead of the installed one, and updated the main submit/upload script to use it