change script to body footer