Add GP parameters as argument to main functions