how to use common scripts