added __python_in__ syntax, fixed string generation
add unicode flags