Fix missing proxy settings
Added template import