various scripts and things