I'm not asking for people to write the code for me but just to point me in the right direction and maybe some links to other scripts that do similar functions or use the commands I need to use.