Corrected sample app and conf file according to code review.