add screenshot, change timeout and pause