add script for checking version