Adds script to bottom of files