Corrected shebang() to avoid closing Model when called an even number of times