updated readme example with proper parameter type in getInitialCwd