fixed bug: changed bash variables to lower case