Added deconfig in main code