make it work with Sinatra

done