mkConfig modified for new phoptimization parameters