# Functions

GenerateInitDocument renders a given template, applies MIME properties and returns a series of byte chunks which put together represent a UserData script.