Removed List::Utils dependency, added some defaults to avoid warnings and removed useless prints, used for debugging