Added support for partials, refactored code, fixed passing of hour / minute params