Removed new line breaks
Converted to unix encoding
Updated script to log down operations and added logic to enable/disable features.