Better error reports for dev scripts

'local' and 'tunnel' scripts where not failing in case of error