change to allow only one instance to be run at anytime