Added a configurable limit to the number of log files.
Backup files are renamed using the current time
Changed line terminator to DOS
Added comment to describe the script purpose
Windows version of the .sh
Fixed MyAccout detection