Getting the staging import dirs right.