Combined two seperate scripts

User just needs to copy and paste one script into their browser now