adding return codes for Jenkins