Added Strongly typed script and return method