first version of prerequisites_check (work in progress)