created script to check for a running minecraft server