Adding value return for passing to script