Added quick exits functionallity.