allow user to specify product version
remove trailing whitespace