avoid duplicate instance of autoRun for many cpp files