runInSeperateProcess to supress header already sent error