assorted original and adapted shell scripts