Use complete path and add autoRequire-option