Added script creation mechanism through recording of the commands executed.