Correcting dir location, improving comments and changing PHP version.