Asynchronous invokation partially works (but in wrong directory)