changed record extract to use relative path instead of deps. this is required where it is used