Ghost set up script

errors fixed