adding support for the windows scheduled task