srand and mkdir so_generated added.
Merge pull request #2 from modohyoung/master

srand and mkdir so_generated added.