enhance the script to work with gemfire service