script is meant to be in footer