created php script to set status of crate