added data to new working dir, replaced outdated code with actual one