Update writer.sh

Fixed a bug for the MD5 checksum procedure. I hard coded the devices.