Updating to current script status, added support for Linux