Moved shopt call after tput test, added BARE variable to init