scripts added from pastebin