added screenshot & redirect code for specified url