moved homepage functions to hook, updated to 1.0.3