stype to top, scripts to bottom