Original functions

Added the 3 original function scripts that I had in the folder.