updated the encypt script