modified changePolicy.js