Fixed the logic of utils.append_to_config so that the changes are properly written back to the file. Also added the commands that will be used as an interface to enable/disable apps without editing the config file