updated script check script for production