Added some more steps. Sql related.