move node acs regex into a "constant"
make sure config creation is after file cleanup