Use the new approach to changing to application directory.