Also halfway making sure this works with new phase names, but still need to generalize the variable lookup so phase names don't matter in this file.
Link was hardcoded and needed mod-rewrite. Replaced with generic (local) path.
Modified some paths to be more generic and not require rewrite. Some instances of phase names have been changed, others are still in process.