made paths for specs more robust