There's a coupe of set %RS.info lines in the script.

Change the first one to,

set %RS.info %RS.info 12 $+ %attrib

and the other one to:

set %RS.info %RS.info =04 %a