some minor changes for work on x300
Working z path add