extract keywords related functions to config
fix download original pictures