adding restful script