script to run console in production
added translation of error messages