Added support for using phploc