Bash script written for easy cm-builds