Adding relaunch functionality