setting up ghost