Adding basic detect script