fixing deprecated require call
Merge pull request #14 from gdiab/patch-1

fixing deprecated require call