moved responsibility of discarding execution frames upon return opcode
refactored crude script