update layout with script+meta includes