improved debugging and writing scripts
now correctly handles script parts
now contains unknown data as byte array
still messing with dynamic offset calculation. saving progress