needs mysql in real life
changed #! to work with virtualenv