updated glob to use document root path