Added a property to specify the target directory for resource listing