in reply to executing script one at the time

How do you mean not working? Is an error returned? If so, which error? Or do you mean that it runs but does not do what you expected it to? If so, what does it do and what did you want it to do? ~Adam