added another method that offers a custom directory path for screenshots