FULL WORKING CONFIGURATOR CODE!!!