add: various missing commands
fix: null script protection
fix: script end check and address ranges