Modifies wraith script to work in dev