sample reduction script for LET