Where do I put the script to change background dynamically?