added footer to script in master