Added some ordering so that dependency checking alwyas happens before
running.