Conditional switching of runtime manipulations, needed for unit tests and runtime crashes