Removed Main() func from HostScript to allow running in MonoDevelop