moved two public scripts to client