Created new configuration method and updated other things to it