Fix references and script in sample app
Fix references and script in sample app