change log location
exit with returned status code