setup script for tornado