adding client scripts