Added the script for encrypt devices