EMBRYO-411: controlling temporary directory
EMBRYO-403: solved eror