La til try catch to fail deploy if script fails