Validate config parameters
Improve functionality for collecting package ids
Use limit if defined in config