Made extension a variable for large image save test