initialization for scripts