moved the gr test and ppe parameter initialisation inside its own function. Uniformised the commandline arguments to all lower case. NOTE: change all the ini files