Update Comet.hal

Fixed to work with both package based installations and run in place.