added widgets and fixed config file