Work on single function  for complete process to generate leanpub etc.