Using sudo in shell script needs absolute path
Rename avrdude-autoreset into avrdude