added script for running app
adding vad function