app.print_directory served its purpose, now deleted.
have/with
Removed app.print_directory.