Convert Python Script To Bash Definition