distributing scripts