Main for library, added weekly() and daily()