forgot to put unique in, but i already ran it. closes #512
use same db on local
moved steps query up in case of manual run when there are none. #512