Merged the reworked universal function script and misc scripts

Dont delete the old misc scripts, still some code to migrate.
Fully working as it is right now, still got to add functionality to the calculator bit however.