corrected exclude paths
using list instead of array notation