Fixed bug - analysis->channel
Modified and renamed the bash script