minor update to keepopen.sh
cleanup