move scripts to end of body for datasync examples