include script & css only if needed