Now compatible with sinatra :)