add script for automatically get version