add date and time to version
handle query string values in function