add a tmp dir and remove sqlite