generated tar file with module files

todo: fix ' error in generated code