Moved screenshot files list variable to global scope so that it's proper synced.