Fixed resolve-dependencies script