Fix sKey variable to not be global.