Fixed file doesn't exist and added 1 sec delay for instant screenshot.