fork to webhippie and adapt for webhippie workflow