refactored and added filtered download report option