Changed expr to bash arithmetic expression