Some python changes for hydra