added option to open console in new window