spool directory does not exist in ubuntu. newline character not escaped properly in echo statement.
Merge pull request #19 from rescale/create-spool-directory

spool directory does not exist in ubuntu. newline character not escaped properly in echo statement.