Re-add ghostwriter from my fork, update ghost.db