changing localhost scripts to ruby 2.0 and better locale settings