added the option to not perform runtime optimisation