Edited scritping files to play nice with frontend, fixed some cmake git annoyances