Flank Speed: Small back end touch ups.

A small back end update to fix a security issue and replace some scripts. Functionally nothing has changed but a few scripts that used a scripting program to help debug have been looked over and edited by people to impr…