added pushd to checkApp