Remove unnecessary context
Catch error on evaluate script