Added -d property to switch between user-specified and dependency discovery option