Modification of header and inclusion of scripts