Sign activate/deactive functionality; Fixed shapecopy compilation errors