Script is almost ready,just have to get it working with the command line arguements and document how to use it properly