use the scripts realpath location when creating profiles.yaml