Added in feature to check to see if a previous instance is already running.