fixed cli versioning cache and file referencing