updates for style width. no answer to the height yet
updated for timeout, need to add code still to make it work