Making scripts abort on error