Apologies, that script is old and outdated and shouldn't have been approachable in the first place. I removed it from the CrownCentral server, please use the guides referred to by higherbridge.
Thanks for reporting!
Ok, in step nine you may want to put cd /usr/local/bin/ ./crownd before the getinfo part.