Correcting bugs on creating local deploy.rb file