All my scripts have been written for the CLI command line, I will eventually turn them into ASH (when more proficient) but was trying to keep things simple to start off, as not had a lot of experience scripting.
condref command shows uses, but no actual examples