Added local command support, plus default config