Changed deploy.rb code, added usage examples