added @preserveGlobalState disabled to fix a bug with @runInSeparateProcess