Updated with automated bash script