crate script