chmod and html tweaks