Adds correct dependencies