fixed warnings; generate.coffee don't slice subdirs
that bash script was terrible and evil