Updated to be compatible with the last version of QBasics