Importing scripts from old BitBucket repository
Imported text methods from old BitBucket repository.