Moving scripts into the body. fixes #17