Change the  hypertext regex to script-local variable and rename 'create_if_alternates_no_exists' to 'create_if_no_alternates_exists'