Rakefile refactored. fixed set_vars task