changedir before you run anything