git won't add ignored dirs, obviously. added mkdir
fixed bug, invalid output filenames