creates a seperate components switches file