replace gui with command prompt