Added restart functionality back in