Updated file attributes and changed some flags to improve plugin compatibility