Added nogui option