Added compress option to remove unused variables