Add "run" function, to run if SIMULATE is false, or print if SIMULATE is true.