Fix setting directories when not using advanced mode