Script to check running services