beginning of write cleanup

Signed-off-by: Mattias Andrée <maandree@operamail.com>
continued cleanup

Signed-off-by: Mattias Andrée <maandree@operamail.com>
cleanup

Signed-off-by: Mattias Andrée <maandree@operamail.com>
set up shred at init

Signed-off-by: Mattias Andrée <maandree@operamail.com>
set up PATH

Signed-off-by: Mattias Andrée <maandree@operamail.com>