updated commands to new version of library