cut off all unnessesary configs