added prerequisite detection