added LIBUSE_VER, increased version
removed bashisms done some cleanup, added LIBUSE_VER
increased ver