Add dependency at the end of anchor

This needs to be in place so that the postgres stuff runs first.