created script to return all data associated with crate id