Added force setup to Code MakeSimulation functions