working on script some more