run from wp core dir