Added better error logs, fixed typing issue that led to "hour" option not working.