made it work with local server/sinatra