add flag to MCObject to indicate script encryption state