We should take the true path on the if only when we are loading and if type=='script', so yes.