Trying to make it possible for swift to be restarted. As of now, not
much luck.