Updating the MAIN_FUNCTION names to MAIN. Removing the LOADING_FUNCTION var instructions.