script & demo page