surrounds close with try catch so app can be installed
Add TAG to files that might use it