change dir so files get loaded from right path.