adding \"working\" version of script