It's always nice to delete some code :-P
Save prepared script before execution to be able to troubleshoot failed execution