Small changes to REST checker, now it should work even for another application