added bos commands and connection