various scripts used in different places