Check for parameters in encrypt script
 Cleaned encrypt script