Tweak usePHP method