Edited config part of code