Put each function in its own script.