attempted to change some script...itsa mess