Add whitelist check to uberjar as well