Make sure to get paths from array