Tidied up code, gave credits for building position script.