replacing hardcoded version by filter_resources variable