Update deployment script.
Fix references.
Fix missing lib.