Function Script

Note: Script only defines function and they have to be called seperately
later.