Added check if backup directory exists and moved print

....