fixed bug
added gen.py for generate logs with sample file
fix scriptgen.py not to remove leading whitespaces
added scriptgen samples