Fixed Ghost script