Removed redundant ''
Replaced ~/idock/utilities/substr by cut and awk