added script for clients