Adding functionality to trim sgp.config