added a separate console script for restarting