add version info to dot file