Story workflow stuff and database operations