updated to fix issues with default command (windows only)