removed 'version' variable from checkUserOptions function