Add screenshot on failure and add log4j properties