removed tag variables, replaced PHP_EOL by const for "\nl", fixed permission mode to 644, removed commented out code