comments on original script and functions