modify logic of hydra config for loading automicly