added profiling option to start script