Improved hn script to take optional time arguments and error when not root