changed limit to 7 days, made it runnable from repo dir