Add arguments when running the script + Fix memory leak

- When using the script's command 'run', all the parameters after 'r'/'run' are the parameters of the binary file

Add a missing delete instruction (no memory leaks)