Run functions independently

As mentioned before i've added the ability to wrap multiple functions in a single script and call them independently.