Added local commands, for use via console. Closes #138