relocate script to body