mirror from https://bitbucket.org/EvilBeaver/1script