Updated isReady to mark all deps finished as target ready, added command detection