imported spl-related scripts