first hashing of script