Hi Packet,
We have worked together before and I believe I understand the script in question. It would need modification to allow your accesskey and secret access key to be held within the script, elsewise they are provided on the command line. The script is relatively simple.
If you'd like to give me a shot at this, please feel free to contact me for any information. I'll send you a PM anyway just to say hello.
Kind Regards
Bryce @ Flippedout Creative