Replaced stringify with scriptify