make version work from any dir