fix bugs in preprocessor and example
add extract data script as secret gist submodule