adding scripts and markup