Added version detection to package requests