V0.5b

First version including scantime & masktime