Optimized build code
Added dev.html and media folder to install script
1.8.0