updating ghost script