enable writing of only selected output paths

- added WRITE_ONLY_SELECTED setting
- added --write-only-selected commandline option