add curl fun to ghosts.sh