Added extra options

Added extra options to support a single path, also added option to use an excludePath to filter the path supplied, so that this can be updated in the repo instead of manually on the server.