Move script to end of body.