added suport for *.var, *.software and *.script files