Replaced original frontend launch with an exit function