useful code snippets
scripts for running demos