fix common pattern prefix to use WARNING instead of WARN
move dotfile command outside of daemonized script