debug refineAssembly scripts