Fix rsyn command, add exit early for scripts