change method redirect, working with multiple sinatra apps