move perms file to ./priv (should go in db, eventually)
chimney, possible tw fix
chimney, scope fixes
move static file serving above logging