Run console from bash script for production