Added windows-specific startup code