Update for latest version meeting dependencies

staticDir depreciated, changed to staticDirs
Merge pull request #1 from a5mith/patch-1

Update for latest version meeting dependencies