Added configuration by profile
Deal with wrong configuration file