Added crypto key env variable for application. Improved scripts.