CONFIG_PATH should not be global
I like the $() better than the ``
added some comments
can override check_is_running