http://diskmakerx.com/
DiskMaker X is an application built with AppleScript that you can use with many versions of OS X/macOS to build a bootable drive from OS X/macOS installer program.