hscriptPos compatibility