Updating the commands to the new version recommended in the documentation