Make various improvements to scripts
Add hostname-related methods, fix setBurnTime()