I have written this F# console application (that should call the run method only if the condition is met - if the directory exists):
run
open System