All scripts function.