compile without -D hscriptPos fixed