updates to get channel quality right
fixed BuildFile