Added different confs and init with if statements