initial implementation for adding dir to virtuoso