remove enviroment line
remove blank lines and unused imports
simplify json loads, replace crypto with hashlib
newline fix
replace is_premium with direct expression, remove explicit "is not None"
fail messages localization and dictionary