Removed unnecessary return and moved crate import to script.rs