Refactor - Consolidate calls to PHP scripts.