adding script files base and widgets