Make manifest code do chdir into appropriate directory.