wrong relative paths fixed and ssl enabled