removed globalOffset as it wasn't used and just made the code more
complicated
swapped scripts and settings