Bash Script Create Variable Images