changed script to server driven