edit to script in footer