updated mkscript