Added sinatra env support