use the terminal SB object to check if the app is running