Added restore command + updated libraries