add sinatra support