We have a lot of scripts :-) You need to let us know which script you are talking about. But a nice shorthand for timestamp is the format as below
select timestamp '2016-01-01 13:45:21.222' from dual;
so if you generate that string, you'll be good to go, eg
SQL> create table t ( ts timestamp );
Table created.
SQL> insert into t select systimestamp from dual;
1 row created.
SQL> insert into t select systimestamp from dual;
1 row created.
SQL> insert into t select systimestamp from dual;
1 row created.
SQL>
SQL>
SQL> select 'timestamp '||chr(39)||to_char(ts,'yyyy-mm-dd hh24:mi:ss.ff')||chr(39)
2 from t;
'TIMESTAMP'||CHR(39)||TO_CHAR(TS,'YYYY-MM
-----------------------------------------
timestamp '2017-01-11 09:59:38.156000'
timestamp '2017-01-11 09:59:38.163000'
timestamp '2017-01-11 09:59:38.171000'
As you can see, CHR(39) is for the quote.