Brushed up bash script, disabled checksum for testing