changed script to control chrome