added requirement library check on activation