have to do deploy in script context