Bash wrapper functions