Thanks alot for all the replyes.

Got the way the script should work now and got the basic system up. Now just working on creating my own image library