fixed command not found error for offset.sh