fix -d/-t ending

Don't try to delete a "sh" before -t/-d.
Add random post material