Support --prod flag for Amazon AWS and local run