Removes unnecessary configs