Bug fixes for director/writer script
Merge branch 'master' of https://github.com/shuyangli/TheIronBank