fix init command to work with windows