Removing unnecessary configs
Also purging pubkeys