Fixed depricated functions
Merge pull request #12 from purplefish32/depricated

Fixed depricated functions