check for running the app