adding .htaccess writable check