Added return code for testing script.