fixes for option paths and to remove leading slash from requires.