Add missing cd and os import