Simplified build bash script and added build batch script.