This script create MacOS image and boot disk for VirtualBox
For this script you need installed MacOS installator (you can get it from AppStore)
Script create image with MacOS and disk which pathc uefi and load MacOS.
You can read article about this process in my blog http://protasovnn.com/article/virtualbox-catalina-installation