Deploy the screenshot function , but not working