Update generic_functions.sh

adding get_version_name function