modifications to the 'Creating hscripts' section