Implementing Script. Now I'm testing it with opt_single_entry.t. Still need debugging.