We should get rid of this if, and check if we need to execute the logic based con configuration params at runtime