client side script for playground project