Add ability to deploy optimized version