Added use of %LOCALAPPDATA% enviroment variable, and got rid of another un-needed else statement after throwing of UnsupportedOperationException