refactored automate_linode.rb