Fix update availability check in Linux
Extract file rendering to config file