add inline styles to script