Add license headers. Escape variables. Use PrestaShop coding standards.