cleaned out the old selfhost command and its support