simplified focus.sh a bit