Added initial detection script