added static_basepath to the initializer