added the local and prepare for production