Move script into body